package face.pay.dao;

import face.pay.entity.TerminalInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther: zkj
 * @Date: 2019/7/16 17:17
 * @Description:
 */
@Mapper
public interface TerminalInfoDao {

    public void insert(TerminalInfo terminalInfo);

    public void update(TerminalInfo terminalInfo);

    public void storeBing(TerminalInfo terminalInfo);

    public TerminalInfo getByDeviceId(@Param("deviceId") String deviceId);

    public List<TerminalInfo> getNoBing(TerminalInfo terminalInfo);

    public List<TerminalInfo> queryDetailList(TerminalInfo terminalInfo);

    void unBing(TerminalInfo terminalInfo);

    List<TerminalInfo> getByIds(List list);
}
